import Store from 'herculex';


export default new Store({
  state: {
    needAuth: false,
    personalGeneralInfo:{},
    errorMsg: '',
  },
  plugins: ['logger'],
  getters: {
  },
  mutations: {
  },
  actions: {
    async loadPageData({ commit }, payload) {
      commit('updateGeneralInfo', {
            needAuth: true,
            personalGeneralInfo: {},
          });

    },
  },
});
